package com.wl.mapper;


import com.wl.dao.IBaseDao;
import com.wl.domain.SysPermission;
import com.wl.domain.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserMapper extends IBaseDao<SysUser> {

    public SysUser loadUserByUsername(String username);

    public SysUser findOneAuth(Map<String, Object> pasMap);

    public List<SysPermission> findPermissionByUsername(String username);

}
